﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;

/// <summary>
/// 关键作业内容
/// </summary>
[Table("QHSE_XY_KEY_WORK_CONTENT")]
public class QHSESysKeyWorkContent : EntityBase
{
    public QHSESysKeyWorkContent()
    {
    }

    /// <summary>
    /// ID
    /// </summary>
    [Column("KEY_WORK_CONTENT_ID")]
    [MaxLength(32)]
    [Key]
    public string Id { get; set; }

/// <summary>
    /// 作业类型编码
    /// </summary>
    [Column("WORK_TYPE_CODE")]
    [MaxLength(100)]
    public string? WorkTypeCode { get; set; }
    /// <summary>
    /// 作业内容序号
    /// </summary>
    [Column("WORK_CONTENT_NO")]
    [MaxLength(100)]
    public string? WorkContentNo { get; set; }
    /// <summary>
    /// 作业内容
    /// </summary>
    [Column("WORK_CONTENT")]
    [MaxLength(1000)]
    public string? WorkContent { get; set; }
    /// <summary>
    /// 作业风险
    /// </summary>
    [Column("WORK_RISK")]
    [MaxLength(100)]
    public string? WorkRisk { get; set; }
    /// <summary>
    /// 分管部门
    /// </summary>
    [Column("DEPARTMENT")]
    [MaxLength(100)]
    public string? Department { get; set; }
    /// <summary>
    /// 备注
    /// </summary>
    [Column("NOTE")]
    [MaxLength(200)]
    public string? Note { get; set; }
    /// <summary>
    /// 排序号
    /// </summary>
    [Column("ORDER_NO")]
    public int? OrderNo { get; set; }
}
